package cn.dt70.dao.aqbBankcard;

import cn.dt70.pojo.AqbBankcard;
import org.apache.ibatis.annotations.Param;

public interface AqbBankcardMapper {

    /*添加账户*/
    int saveCard(AqbBankcard aqbBankcard) throws Exception;

    //根据用户ID查询账户信息
    AqbBankcard selectByUserId(@Param("userId")String userId) throws Exception;

    //修改指定UserId账户的余额
    int updateByUserIdForBalance(@Param("userId")String userId,
                                 @Param("balance")double balance) throws Exception;
}
